﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.Order.OrderMoveHouseSpecificationServiceRecord
{
	/// <summary>
	/// 订单搬家特殊服务记录
	/// </summary>
	public class OrderMoveHouseSpecificationServiceRecordRequestDto
	{
		/// <summary>
		/// 订单Id
		/// </summary>		
		[Display(Name = "订单Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long OrderId { get; set; }
		/// <summary>
		/// 订单编号
		/// </summary>		
		[Display(Name = "订单编号")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[MaxLength(50, ErrorMessage = "{0} 长度应小于{1}")]
		public string OrderNo { get; set; }
		/// <summary>
		/// 搬家规格服务配置Id
		/// </summary>		
		[Display(Name = "搬家规格服务配置Id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long MoveHouseSpecificationServiceConfigId { get; set; }
		/// <summary>
		/// 搬家配置id
		/// </summary>		
		[Display(Name = "搬家配置id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long MoveHouseConfigId { get; set; }
		/// <summary>
		/// 搬家规格配置id
		/// </summary>		
		[Display(Name = "搬家规格配置id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public long MoveHouseSpecificationConfigId { get; set; }
		/// <summary>
		/// 规格名称
		/// </summary>		
		[Display(Name = "规格名称")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(20, MinimumLength = 1, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string SpecificationName { get; set; }
		/// <summary>
		/// 规格服务id
		/// </summary>		
		[Display(Name = "规格服务id")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public int SpecificationServiceConfigId { get; set; }
		/// <summary>
		/// 规格服务名字
		/// </summary>		
		[Display(Name = "规格服务名字")]
		[Required(ErrorMessage = "{0} 不应为空")]
		[StringLength(20, MinimumLength = 1, ErrorMessage = "{0} 长度应大于{2} 且小于{1}")]
		public string SpecificationServiceName { get; set; }
		/// <summary>
		/// 价格
		/// </summary>		
		[Display(Name = "价格")]
		public decimal? Price { get; set; }
	}
}

